]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Clean up unused code
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 3 Oct 2012 00:00:17 +0000 (21:00 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 6 Oct 2012 19:07:53 +0000 (16:07 -0300)
https://bugzilla.gnome.org/show_bug.cgi?id=685313

js/ui/dash.js

index f2ccc78b88f15afc337d7469775fcee24806e49f..047588d440243fd78ef14e219fb8deb49e612794 100644 (file)
@@ -439,12 +439,6 @@ const Dash = new Lang.Class({
         if (app == null)
             return DND.DragMotionResult.CONTINUE;
 
-        let id = app.get_id();
-
-        let favorites = AppFavorites.getAppFavorites().getFavoriteMap();
-
-        let srcIsFavorite = (id in favorites);
-
         let showAppsHovered =
                 this._showAppsIcon.actor.contains(dragEvent.targetActor);